/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.behavioral.templatemethod.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.behavioral.templatemethod.CheeseBurgerMeal;
import za.ac.cput.DesignPatterns.behavioral.templatemethod.HamburgerMeal;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class TemplateMethodConf {
    @Bean
    public CheeseBurgerMeal cheeseBurger(){
    return new CheeseBurgerMeal();
    }
    @Bean 
    public HamburgerMeal hamburgerMeal(){
    return new HamburgerMeal();
    }
}
